package com.xhx.componet;

import org.springframework.stereotype.Component;

import com.xhx.context.FlowContext;
import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.log.LFLog;
import com.yomahub.liteflow.log.LFLoggerManager;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Component("stepPrintCmp")
public class StepPrintCmp extends NodeComponent {

    private LFLog log = LFLoggerManager.getLogger(getClass());

    @Override
    public void process() throws Exception {
        FlowContext context = this.getContextBean(FlowContext.class);
        log.info("最终结果：{}", context);
    }

}
